package com.itqf.sms.enums;

/**
 * projectName: springboot_part
 *
 * @author: 赵伟风
 * time: 2021/9/18 11:53
 * description:
 *    未认证  505
 *    未授权  506
 */
public enum ResponseCode {

    UNAUTHENTICATION_FAIL(505,"认证异常"),
    ACCOUNT_NOT_EXIST(507,"账号不存在"),
    UNAUTHORIZATION_FAIL(506,"授权异常");

    private int code;
    private String msg;


    ResponseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    ResponseCode() {
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
